<?php

namespace fankers\api;

/**
 * qq登录授权相关
 * Class qqApi
 * @package api
 */
class QqApi
{
    const OAUTH_URI = 'https://graph.qq.com/oauth2.0/authorize';        //获取code接口
    const ACCESS_TOKEN_PC = 'https://graph.qq.com/oauth2.0/token';      //获取token地址 pc端
    const ACCESS_TOKEN_WAP = 'https://graph.z.qq.com/moc2/token';       //获取token地址 移动端

    const OPEN_ID_PC  = 'https://graph.qq.com/oauth2.0/me';             //根据access_token 获取用户的openid pc端
    const OPEN_ID_WAP  = 'https://graph.z.qq.com/moc2/me';             //根据access_token 获取用户的openid 移动端


    const USER_INFO = 'https://graph.qq.com/user/get_user_info';        //获取用户信息

}